package cn.com.scooper.dao.xf;

import cn.com.scooper.pojo.po.MineDeviceAlarmPo;
import java.util.List;
import org.springframework.stereotype.Repository;

@Repository
public interface MineDeviceAlarmDao {
    int deleteByPrimaryKey(Integer id);

    int insert(MineDeviceAlarmPo record);

    MineDeviceAlarmPo selectByPrimaryKey(Integer id);

    MineDeviceAlarmPo selectByAlarmId(String alarmId);

    int updateByPrimaryKey(MineDeviceAlarmPo record);

    List<MineDeviceAlarmPo> selectAll(MineDeviceAlarmPo record);

    int updateByAlarmId(MineDeviceAlarmPo mineDeviceAlarmPo);
}